import {defineConfig} from 'vitepress'
import defaultThemeConfig from './default-theme-config'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "Jvyou UI Bate",
  description: "一个基于Vue3的现代化UI框架",
  rewrites: {
    "docs/(.*)": "(.*)",
    "packages/jvyou-ui-bate/src/:comp/(.*)": "components/:comp/(.*)",
    "packages/utils/src/(.*)": "utils/(.*)"
  },
  themeConfig: defaultThemeConfig,
  vite: {
    server: {
      open: true
    }
  }
})
